<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>双列表</title>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/hdw.css"/>
<script type="text/javascript" src="__PUBLIC__/Js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/hdw.js"></script>
</head>

<body>
<h3><a href="{:U('Admin/Excel/index')}">返回</a></h3>
<form action="{:U('Admin/Excel/save_imp')}" method="post">
    <table class="table table-striped table-hover">
        <tr>
            <th colspan="2">
                <h3><span>你选择的文件名为</span><span style="color: red;">{$f_name}</span></h3>
            </th>
        </tr>
        <tr>
            <td><h3>请选择学年</h3></td>
            <td>
                <select class="form-control" name="sch_year">
                    <foreach name="sch_year" item="m">
                        <option value="{$m.l}-{$m.b}">{$m.l}-{$m.b}</option>
                    </foreach>
                </select>
            </td>
        </tr>
        <tr>
            <td><h3>请选择学期</h3></td>
            <td>
                <select class="form-control" name="term">
                    <option value="1">1</option>
                    <option value="2">2</option>
                </select>
            </td>
        </tr>

        <tr>
            <td></td>
            <td colspan="2">
                <div class="content">
                    <h3>请选择科目</h3>
                    <select multiple="multiple" id="select1" class="form-control"  style="width: 300px;height: 200px;">
                        <foreach name="subject" item="v" key="k">
                            <option value="{$k}">{$v}</option>
                        </foreach>
                    </select>
                    <span id="add">选中右移>></span> <span id="add_all">全部右移>></span>
                </div>
                <div class="content">
                    <h3>已选择科目</h3>
                    <select multiple="multiple" name="subjects[]" id="select2" class="form-control" style="width: 300px;height: 200px;">
                    </select>
                    <span id="remove">选中左移>></span><span id="remove_all">全部左移>></span>
                </div>
            </td>
        </tr>
        <tr><td></td>
            <td >
                <input type="submit" value="保存"style="width:200px" class="btn btn-primary"/>
            </td>
        </tr>
    </table>
</form>

<link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="__PUBLIC__/bootstrap/css/button.css" rel="stylesheet">
<script src="__PUBLIC__/bootstrap/js/jquery-1.9.1.js"></script>
<script src="__PUBLIC__/bootstrap/js/bootstrap.js"></script>
</body>
</html>
